import request from '@/utils/request'
// 查询教师管理列表
export function listTeacherManagement() {
  return request({
    url: '/teacher/teacherManagement/list',
    method: 'get',
  })
}
// 查询分数汇总列表
export function listCollectScore(query) {
  return request({
    url: '/performance/collectScore/list',
    method: 'get',
    params: query
  })
}

// 查询分数汇总详细
export function getCollectScore(id) {
  return request({
    url: '/performance/collectScore/' + id,
    method: 'get'
  })
}

// 新增分数汇总
export function addCollectScore(data) {
  return request({
    url: '/performance/collectScore',
    method: 'post',
    data: data
  })
}

// 修改分数汇总
export function updateCollectScore(data) {
  return request({
    url: '/performance/collectScore',
    method: 'put',
    data: data
  })
}

// 删除分数汇总
export function delCollectScore(id) {
  return request({
    url: '/performance/collectScore/' + id,
    method: 'delete'
  })
}
